<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>宠物之家管理员登录</title>
    <link rel="icon" th:href="@{/img/logo.png}">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@4.1.1/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdn.jsdelivr.net/npm/font-awesome@4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="https://unpkg.com/bootstrap-material-design@4.1.1/dist/css/bootstrap-material-design.min.css" integrity="sha384-wXznGJNEXNG1NFsbm0ugrLFMQPWswR3lds2VeinahP8N0zJw9VWSopbjv2x7WCvX" crossorigin="anonymous">
    <style>
        .container{
            margin-top: 5%;
        }
    </style>
</head>
<body>
<!--main page-->
<div class="container" >
    <h1 class="text-secondary">管理员登录</h1>
    <div id="login-box" class="jumbotron" style="width: 48rem;">
        <label for="account"><i class="fa fa-user fa-2x"></i>账号：</label>
        <input id="account" v-model="loginName" type="text" class="form-control" placeholder="请输入账号" required>
        <label for="password"><i class="fa fa-key fa-2x"></i>密码：</label>
        <input id="password" v-model="password" type="password" class="form-control" placeholder="请输入密码" required>
        <br>
        <a href="#" class="btn btn-primary" v-show="no_empty_fields" @Click="login">&ensp;登录&ensp;</a>
        <h6 class="text-danger">{{ message }}</h6>
    </div>
</div>
<!--js-->
<script src="https://cdn.jsdelivr.net/npm/jquery@3.3.1/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.16/dist/vue.min.js"></script>
<script src="https://unpkg.com/popper.js@1.12.6/dist/umd/popper.js"
        integrity="sha384-fA23ZRQ3G/J53mElWqVJEGJzU0sTs+SvzG8fXVWP+kJQ1lwFAOkcUOysnlKJC33U" crossorigin="anonymous"></script>
<script src="https://unpkg.com/bootstrap-material-design@4.1.1/dist/js/bootstrap-material-design.js"
        integrity="sha384-CauSuKpEqAFajSpkdjv3z9t8E7RlpJ1UP0lKM/+NdtSarroVKu069AlsRPKkFBz9" crossorigin="anonymous"></script>
<script defer type="text/javascript" th:src="@{/js/management/manage_base.js}"></script>
<script defer type="text/javascript" th:src="@{/js/management/manager_login.js}"></script>
</body>
</html>